<template>
  <el-config-provider :locale="locale">
      <router-view/>
  </el-config-provider>
</template>

<script setup lang="ts">
import {reactive, toRefs, ref} from 'vue'
import {defineComponent} from 'vue'
import {ElConfigProvider} from 'element-plus'

import zhCn from 'element-plus/lib/locale/lang/zh-cn'

const states = reactive({
  locale: zhCn
})

const {locale} = toRefs(states);
</script>
<style lang="less">
@import "assets/styles/rebase";

html, body {
  height: 100%;
}

#app {
  height: 100%;
}
</style>
